A Calculus for the Random Generation of Labelled Combinatorial Structures

نویسندگان

  • Philippe Flajolet
  • Paul Zimmermann
  • Bernard Van Cutsem
چکیده

Flajolet, Ph., P. Zimmermann and B.V. Cutsem, A calculus for the random generation of labelled combinatorial structures, Theoretical Computer Science 132 (1994) l-35. A systematic approach to the random generation of labelled combinatorial objects is presented. It applies to structures that are decomposable, i.e., formally specifiable by grammars involving set, sequence, and cycle constructions. A general strategy is developed for solving the random generation problem with two closely related types of methods: for structures of size n, the boustrophedonic algorithms exhibit a worst-case behaviour of the form O(n logn); the sequential algorithms have worst case 0(n2), while offering good potential for optimizations in the average case. The complexity model is in terms of arithmetic operations and both methods appeal to precomputed numerical table of linear size that can be computed in time O(n2). A companion calculus permits systematically to compute the average case cost of the sequential generation algorithm associated to a given specification. Using optimizations dictated by the cost calculus, several random generation algorithms of the sequential type are developed; most of them Correspondence to: Ph. Flajolet, Algorithms Project, INRIA Rocquencourt, B.P. 105, F-78153 Le Chesnay Cedex, France. Email: [email protected]. 0304-3975/94/%07.00 c 1994-Elsevier Science B.V. All rights reserved SSDI 0304-3975(93)E0206-J

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Calculus of Random Generation

A systematic approach to the random generation of labelled combinatorial objects is presented. It applies to structures that are decomposable, i.e., formally speciiable by grammars involving union, product, set, sequence, and cycle constructions. This work started with a question arising in statistical classiication theory: How can one generate a random \hierarchy"? In combinatorial terms, the ...

متن کامل

A Calculus for the Random Generation of Combinatorial Structures

A systematic approach to the random generation of labelled combinatorial objects is presented. It applies to structures that are decomposable, i.e., formally speci able by grammars involving set, sequence, and cycle constructions. A general strategy is developed for solving the random generation problem with two closely related types of methods: for structures of size n, the boustrophedonic alg...

متن کامل

A Calculus for the Random Generation of Combinatorial Structures Philippe Flajolet

A systematic approach to the random generation of labelled combinatorial objects is presented. It applies to structures that are decomposable, i.e., formally speci able by grammars involving set, sequence, and cycle constructions. A general strategy is developed for solving the random generation problem with two closely related types of methods: for structures of size n, the boustrophedonic alg...

متن کامل

Ga a a package for the random genera tion of combinatorial structures

Ga a is a computer algebra package that helps counting and drawing random combinatorial structures of various sorts It is an implementation of the calculus developed by Ph Flajolet B Van Cutsem and the author in Given a combinatorial speci cation and an integer n it draws a random object uniformly amongst all size n structures It applies to all decompos able structures either labelled or unlabe...

متن کامل

Counting Environments and Closures

Environments and closures are two of the main ingredients of evaluation in lambdacalculus. A closure is a pair consisting of a lambda-term and an environment, whereas an environment is a list of lambda-terms assigned to free variables. In this paper we investigate some dynamic aspects of evaluation in lambda-calculus considering the quantitative, combinatorial properties of environments and clo...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Theor. Comput. Sci.

دوره 132  شماره 

صفحات  -

تاریخ انتشار 1994